package com.hivekion.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("查询所有用户信息")
public class SysUserViewVo implements Serializable {
      private String id;
      private String userName;
      private String nickName;
      private String email;
      private String phoneNumber;
      private int sex;
      private int status;
      private String loginIp;
      private String loginDate;
      private Date createTime;
      private String areaIds;
      private String deptName;
      private String remark;
      @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @ApiModelProperty("上次修改密码时间")
      private Date lastUpdate;
}
